﻿<UserControl x:Class="Remember.WPF.Views.LoginControl"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
             xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
             xmlns:extToolkit="http://schemas.microsoft.com/winfx/2006/xaml/presentation/toolkit/extended"
             mc:Ignorable="d" 
             d:DesignHeight="500" d:DesignWidth="600" xmlns:my="clr-namespace:Remember.WPF.Views">
    <Grid>
        <Border BorderBrush="Silver" BorderThickness="1" Height="300" Width="600" CornerRadius="12" Background="WhiteSmoke" Opacity="1"> 
            <Grid Width="600" Height="300">
            <Button Content="Add a user" Height="42" HorizontalAlignment="Center" Margin="0,0,0,25" Name="btnAddauser" VerticalAlignment="Bottom" Width="158" Click="btnAddauser_Click" FontSize="20" FontWeight="Normal" />
                <ScrollViewer CanContentScroll="True" Margin="30" Height="200" VerticalAlignment="Top" VerticalScrollBarVisibility="Auto">
            <StackPanel HorizontalAlignment="Center" Name="pnlLoginList" VerticalAlignment="Top" Width="540" Margin="0" CanVerticallyScroll="True" CanHorizontallyScroll="False">
                    <my:LoginItem x:Name="loginItem1"></my:LoginItem>
                </StackPanel>
                </ScrollViewer>
            </Grid>
        </Border>
        <extToolkit:ChildWindow x:Name="childWindow" Caption="Create a user" IsModal="True" Width="300" Height="300">
        </extToolkit:ChildWindow>

    </Grid>
</UserControl>
